-- GENERATED SPELL FOR [Jade Sludge] --


function spell0_4468(pUnit, Event) --@Sludge Toxin,n/a--
pUnit:FullCastSpellOnTarget(6814,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_4468', 47000, 1)
end

function Sorts_4468(pUnit, Event)
local choix_sorts_4468 = math.random(0, 0)
if choix_sorts_4468 == 0 then
pUnit:RegisterEvent('spell0_4468', 1, 1)
end
end

function mob4468_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4468', math.random(1500, 3000), 1)
end

function mob4468_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4468_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4468_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4468, 1, 'mob4468_Action')
RegisterUnitEvent(4468, 2, 'mob4468_Leave')
RegisterUnitEvent(4468, 3, 'mob4468_Kill')
RegisterUnitEvent(4468, 4, 'mob4468_Die')
